package com.qzw.security.api.service;

import com.qzw.common.api.base.BaseService;
import com.qzw.security.api.model.Permission;
import com.qzw.security.api.query.PermissionQuery;

import java.util.List;

/**
 * @author ：quziwei
 * @date ：Created in 2020/6/2 12:20 下午
 * @description：
 */
public interface IPermissionService extends BaseService<Permission,Integer, PermissionQuery> {
    List<Permission> findPermissionsByMenuId(Integer menuId);

    List<Permission> findPermissionsByResourceId(Integer resourceId);

}
